package life.one;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //Scnner的next默认的匹配方式是遇到空格和换行符,修改其匹配方式
        scanner.useDelimiter("\n");
        int n = scanner.nextInt();
        String s = scanner.next();
        for (int i = 0; i < n; i++) {
            System.out.println(s);
        }

    }
}
